package com.lifeng.patterns.templatemethod;

import java.io.Serializable;

/**
 * Created by lifeng on 2019/10/16.
 * 支付宝请求bean
 */
public class AlipayDto implements Serializable{
    //支付宝商户订单号
    private String orderNo;
    //支付宝商户号
    private String pId;
    //支付宝交易金额
    private Long amt;
    //交易商品描述
    private String body;
    //返回码
    private String retCode;
    //返回码描述
    private String retMsg;

    public String getRetCode() {
        return retCode;
    }

    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Long getAmt() {
        return amt;
    }

    public void setAmt(Long amt) {
        this.amt = amt;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "AlipayDto{" +
                "orderNo='" + orderNo + '\'' +
                ", pId='" + pId + '\'' +
                ", amt=" + amt +
                ", body='" + body + '\'' +
                ", retCode='" + retCode + '\'' +
                ", retMsg='" + retMsg + '\'' +
                '}';
    }
}
